package com.itheima.extend;

class Sos extends So {
    private  static int name;

    //有参构造方法
    public static void setName(int sname) {
        name = sname;
    }

    public Sos(int name) {
        super(name);
    }

    public Sos() {
        super(name);
    }
    //无参构造方法
//    public Sos(){
//        this(10);
//    }

}
